boot config flags debug-config
Activate or disable run-time debugging of the configuration file.
Syntax
-
boot config flags
debug-config
-
boot config flags
debug-config console
-
boot config flags
debug-config file
-
default boot config flags
debug-config
-
no boot config flags
debug-config
Command Parameters
- console
- Displays the line-by-line
configuration file processing and result of the execution on the console while the
device loads the configuration file.
- file
- Logs the line-by-line
configuration file processing and result of the execution to the debug file while
the device loads the configuration file.
- The system logs the debug config output to
/intflash/debugconfig_primary.txtfor the primary
configuration file. The system logs the debug config output to
/intflash/ debugconfig_backup.txt for the backup configuration, if
the backup configuration file loads.
Default
The default is disabled.
Command Mode
Global Configuration
Usage Guidelines
After you enable debug-config and save the configuration, the debug output either
displays on the console or logs to an output file the next time the switch reboots. You
do not have to restart the switch after you enable debug-config unless you want to
immediately debug the configuration.